package com.example.excelStudy;

import lombok.Data;

/**
 * XXXXXXXXX
 *
 * @author brad zhang
 * @version 2.0
 * @date 2021/11/25 10:01
 */
@Data
public class MessageConfig {
    private Boolean email = false;
    private Integer sort;
    //todo后期扩展

    public MessageConfig(Integer sort) {
        this.sort = sort;
    }

    public Integer getSort() {
        if(sort == null){
            return 0;
        }else {
            return sort;
        }
    }
}
